package com.syyo.gulimall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.syyo.gulimall.product.domain.entity.AttrGroupEntity;
import com.syyo.gulimall.product.domain.vo.SkuItemVo;
import com.syyo.gulimall.product.domain.vo.SpuItemAttrGroupVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 *
 * @author syyo
 * @email syyo@gmail.com
 * @date 2021-01-20 09:32:12
 */
public interface AttrGroupMapper extends BaseMapper<AttrGroupEntity> {

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);
}
